package src.lab02.test17;

/**
 * Created by MECHREV on 2017/10/26.
 */
public class Test {
    public static void main(String[] args) {
        int[] numbers = new int[10];
        numbers[0] = 12;

        //ctrl +d  复制一行
        // ctrl+x   删除一行
        numbers[1]=9;
        numbers[2]=26;
        System.out.println(numbers[1]);
        System.out.println(numbers[2]);
        int sum=0;
        int i;
        for(i=0;i<numbers.length;i++)
        {
            sum+=numbers[i];
        }
        System.out.println("总和是："+sum);
    }
}
